<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8" />
    <title>upload</title>
</head>
<body>

<form action="/upload" method="post" enctype="multipart/form-data">
    姓名：<input type="text" name="name"/><br/>
    照片：<input type="file" name="photo"/><br/>
    <input type="submit" value="上传"/>
</form>
</body>
</html>